package com.tc.service;

import com.tc.pojo.Customer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Auther: tianchao
 * @Date: 2022/8/2 16:08
 * @Description:
 */
@Service
public class TestServiceImpl implements TestService {
    @Autowired
    private CustomerService customerService;
    @Override
    public Iterable<Customer> getAll() throws InterruptedException {
        final Iterable<Customer> all = customerService.getAll();

        return all;
    }
}
